import Vue from 'vue';
import "babel-polyfill";
import 'es6-promise-polyfill';
import Vuex from 'vuex';
import dictionary from './dictionary.js';
import modelUser from './user.js';

Vue.use(Vuex);
const debug = process.env.NODE_ENV !== 'production';
const store = new Vuex.Store({
  modules: {
    // navigation: moduleNav,
    dictionary: dictionary,
    user: modelUser
  },
  strict: debug
});

export default store;
